package com.ruoyi.stuclient.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.stuclient.domain.EwcChapter;
import com.ruoyi.stuclient.domain.vo.EwcChapterVo;
import com.ruoyi.stuclient.domain.vo.TodayCourseChapterVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 章节信息Mapper接口
 * 
 * @author lcj
 * @date 2025-02-27
 */
public interface EwcChapterMapper extends BaseMapper<EwcChapter> {

    /**
     * 查询首页课程信息
     * @param studentId 老师id
     * @param nowDate 时间
     * @return 课程信息
     */
    List<TodayCourseChapterVo> getCourseInProgress(@Param("studentId") String studentId, @Param("nowDate") String nowDate);
}
